/*	BuildCommandCenter class declaration.
 *
*/

#ifndef BuildCommandCenter_H_
#define BuildCommandCenter_H_

#include "Behavior.h"
#include <BWAPI.h>

class BuildCommandCenter : public Behavior
{
public:
	BuildCommandCenter(std::string incName = "BuildCommandCenter") :	Behavior(incName), 
																		builder(NULL),	
																		target(BWAPI::TilePosition(-1,-1)),
																		ccTargetPicked(false)																													
	{ }
	
	void Enter();
	void Execute();
	void Exit();

	bool CheckConditions();

private:
	BWAPI::Unit* builder;
	BWAPI::TilePosition target;
	bool ccTargetPicked;

};

#endif